/*
 * ComputeNonablationHeatfluxMaterial.h
 *
 *  Created on: Feb 4, 2020
 *      Author: liuxiao
 */

#pragma once

#include "Material.h"
#include "LinearInterpolation.h"

class Function;

class ComputeNonablationHeatfluxMaterial : public Material
{
public:
	ComputeNonablationHeatfluxMaterial(const InputParameters & parameters);

protected:

	MaterialProperty<Real> & _hw;
	MaterialProperty<Real> & _qh;
	MaterialProperty<Real> & _qrad_out;
	MaterialProperty<Real> & _qn;
	const MaterialProperty<Real> & _qc;
	const MaterialProperty<Real> & _hr;
	const MaterialProperty<Real> & _Tw_qc;
	const MaterialProperty<Real> & _epsilon;
	const VariableValue & _temperature;
	Real _sigma;
	//functions
	Real compute_hw(Real Tw);
	//compute properties
	virtual void computeProperties();




};

template<>
InputParameters validParams<ComputeNonablationHeatfluxMaterial>();





